﻿using System;
using System.Collections.Generic;
using System.Text;

namespace efish.Framework.Common
{
    public class EmailAddressTool
    {
        public static string GetAccount(string email)
        {
            int index = email.IndexOf("@");
            if (index > 0)
            {
                return email.Substring(0, index - 1);
            }
            return string.Empty;
        }
    }
}
